ProtoRolePlayer.CreateRoleAssignment Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Oluşturulmakta olan bağlantıda rolePlayer için bir Roleatama oluşturur. Iddictionary, reconstituted rolePlayer için bir kimlik içermiyorsa, bu Prototiproleplayer 'ın oluşturulduğu özgün rolePlayer 'ı kullanın, CanUseExistingRolePlayer yöntemi true değerini döndürür.
public:
Microsoft::VisualStudio::Modeling::RoleAssignment ^ CreateRoleAssignment(System::Collections::Generic::Dictionary<Guid, Guid> ^ idDictionary, Microsoft::VisualStudio::Modeling::Partition ^ partition);
public Microsoft.VisualStudio.Modeling.RoleAssignment CreateRoleAssignment (System.Collections.Generic.Dictionary<Guid,Guid> idDictionary, Microsoft.VisualStudio.Modeling.Partition partition);
member this.CreateRoleAssignment : System.Collections.Generic.Dictionary<Guid, Guid> * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.RoleAssignment
Public Function CreateRoleAssignment (idDictionary As Dictionary(Of Guid, Guid), partition As Partition) As RoleAssignment
Parametreler
- idDictionary
- Dictionary<Guid,Guid>
Özgün öğe KIMLIĞINDEN, kopya öğe KIMLIĞI ' ne eşleyin
- partition
- Partition
Bağlantının oluşturulduğu bölüm (kaynak rol yürütücüsünün bölümü)
Döndürülenler
RoleAssignment
Özel durumlar
Roleatama oluşturulamadığı takdirde oluşturulur.