Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Loads the model file into the specified partition and returns the root model element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Function LoadModel ( _
serializationResult As SerializationResult, _
partition As Partition, _
fileName As String, _
serializerLocator As ISerializerLocator _
) As ModelElement
ModelElement LoadModel(
SerializationResult serializationResult,
Partition partition,
string fileName,
ISerializerLocator serializerLocator
)
ModelElement^ LoadModel(
SerializationResult^ serializationResult,
Partition^ partition,
String^ fileName,
ISerializerLocator^ serializerLocator
)
abstract LoadModel :
serializationResult:SerializationResult *
partition:Partition *
fileName:string *
serializerLocator:ISerializerLocator -> ModelElement
function LoadModel(
serializationResult : SerializationResult,
partition : Partition,
fileName : String,
serializerLocator : ISerializerLocator
) : ModelElement
Parameters
serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResultDetailed information about the result of the load
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe partition into which the model should be loaded
fileName
Type: System.StringThe name of the file to load
serializerLocator
Type: Microsoft.VisualStudio.Modeling.ISerializerLocatorThe serializer locator to use when attempting to resolve any additional domain model namespaces encountered in the model file. Can be null.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The root model element
.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.