ArcGIS Pro 2.7 API Reference Guide
GetRulePackageDescription Method (SymbolFactory)

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class : GetRulePackageDescription Method
the path to the rule package
Populate the associated rule package description. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public RulePackageDescription GetRulePackageDescription( 
   string rulePackagePath
)
Public Function GetRulePackageDescription( _
   ByVal rulePackagePath As String _
) As RulePackageDescription

Parameters

rulePackagePath
the path to the rule package

Return Value

A populated rule package description.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
{rulePackagePath} not found or is inaccessible
Cannot use rule packages that create leaf shapes with procedural symbols.
Call to retrieve rule package attributes failed.
Remarks
Package description includes the geometry type and all (non-hidden) rule package attributes.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SymbolFactory Class
SymbolFactory Members