CrmTypes.CreateReference Method
Creates an instance of a Reference attribute.
Syntax
[Visual Basic .NET]
Public Shared Function CreateReference(
ByVal type As String,
ByVal value As Guid
) As CrmReference
[C#]
public static CrmReference CreateReference(
string type,
Guid value
);
[JScript]
public static function CreateReference(
type : String,
value : Guid
) : CrmReference;
Parameters
type
Specifies the schema name of the entity to create.
value
Specifies the value of the attribute.
Return Value
Returns a CrmReference type.
See Also