SpreadsheetGear 2012
CreateRelationship Method






Syntax
'Declaration
 
Sub CreateRelationship( _
   ByVal targetUri As System.Uri, _
   ByVal relationshipType As System.String, _
   ByVal id As System.String _
) 
'Usage
 
Dim instance As IPackagePart
Dim targetUri As System.Uri
Dim relationshipType As System.String
Dim id As System.String
 
instance.CreateRelationship(targetUri, relationshipType, id)
void CreateRelationship( 
   System.Uri targetUri,
   System.string relationshipType,
   System.string id
)
procedure CreateRelationship( 
    targetUri: System.Uri;
    relationshipType: System.String;
    id: System.String
); 
function CreateRelationship( 
   targetUri : System.Uri,
   relationshipType : System.String,
   id : System.String
);
void CreateRelationship( 
   System.Uri* targetUri,
   System.string* relationshipType,
   System.string* id
) 
void CreateRelationship( 
   System.Uri^ targetUri,
   System.String^ relationshipType,
   System.String^ id
) 

Parameters

targetUri
relationshipType
id
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IPackagePart Interface
IPackagePart Members

Send Feedback