This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRuleContainer Interface > ITopologyRuleContainer.RuleByGUID Property (ArcObjects .NET 10.4 SDK) |
The rule with the globally unique ID.
[Visual Basic .NET] Public Function get_RuleByGUID ( _ ByVal GUID As String _ ) As IRule
[C#] public IRule get_RuleByGUID ( string GUID );
[C++]
HRESULT get_RuleByGUID(
BSTR GUID,
IRule** Rule
);
[C++]
Parameters GUID [in] GUID is a parameter of type BSTR Rule [out, retval]
Rule is a parameter of type IRule
If a nonexistant or incorrect GUID is supplied, RuleByGUID will return an error
Returns the rule identified by the specified GUID. The GUID is generated after the topology is added to the topology using ITopologyRuleContainer::AddRule. The GUID can be returned from the ITopologyRule::GUID property.