DomainDataDirectory.FindDomainProperty Method
Finds a domain property with a specific ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Function FindDomainProperty ( _
id As Guid _
) As DomainPropertyInfo
public DomainPropertyInfo FindDomainProperty(
Guid id
)
public:
DomainPropertyInfo^ FindDomainProperty(
Guid id
)
member FindDomainProperty :
id:Guid -> DomainPropertyInfo
public function FindDomainProperty(
id : Guid
) : DomainPropertyInfo
Parameters
- id
Type: System.Guid
The ID of the domain property.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
A DomainPropertyInfo object or null if not found.
Remarks
If the domain property is not found, nulla null reference (Nothing in Visual Basic) is returned.
.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.