CustomGxObject_CS.GxPyObject.GetPropByIndex C# (CSharp) Method

GetPropByIndex() public method

public GetPropByIndex ( int Index, string &pName, object &pValue ) : void
Index int
pName string
pValue object
return void
		public void GetPropByIndex(int Index, ref string pName, ref object pValue)
		{
			switch (Index)
			{
				case 0:
					pName = "ESRI_GxObject_Name";
					pValue = (System.Object) this.Name;
					return;
				case 1:
					pName = "ESRI_GxObject_Type";
					pValue = (System.Object) this.Category;
					return;
				default:
					pName = null;
					pValue = null;
					return;
			}
		}