Metodo ModelingPartitionMapper.PartitionForElement
Spazio dei nomi: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Sintassi
'Dichiarazione
Public Function PartitionForElement ( _
groupPrototype As ElementGroupPrototype, _
mergePartition As Partition, _
protoElement As ProtoElement, _
cookie As Object _
) As Partition
public Partition PartitionForElement(
ElementGroupPrototype groupPrototype,
Partition mergePartition,
ProtoElement protoElement,
Object cookie
)
Parametri
- groupPrototype
Tipo: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
- mergePartition
Tipo: Microsoft.VisualStudio.Modeling.Partition
- protoElement
Tipo: Microsoft.VisualStudio.Modeling.ProtoElement
- cookie
Tipo: System.Object
Valore restituito
Tipo: Microsoft.VisualStudio.Modeling.Partition
Implementa
IElementPartitionMapper.PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.