ModelingAdapterReference.Deserialize Method
Deserializes and returns a new ModelingAdapterReference
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)
Syntax
'Declaration
Public Shared Function Deserialize ( _
serializedReference As String, _
context As ReferenceContext _
) As ModelingAdapterReference
public static ModelingAdapterReference Deserialize(
string serializedReference,
ReferenceContext context
)
public:
static ModelingAdapterReference^ Deserialize(
String^ serializedReference,
ReferenceContext^ context
)
static member Deserialize :
serializedReference:string *
context:ReferenceContext -> ModelingAdapterReference
public static function Deserialize(
serializedReference : String,
context : ReferenceContext
) : ModelingAdapterReference
Parameters
serializedReference
Type: StringThe serialized form of the adapter reference
context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContextContextual information. Should contain the absolute path of the source file in which the reference was serialized.
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.