コード例 #1
0
 /// <summary>Initializes a new instance of the <see cref="PropertyDescription"/> class.</summary>
 /// <param name="propertyDescription">The property description.</param>
 /// <param name="pkey">The associated property key.</param>
 protected internal PropertyDescription(IPropertyDescription propertyDescription, PROPERTYKEY?pkey = null)
 {
     iDesc = propertyDescription;
     key   = pkey ?? iDesc.GetPropertyKey();
 }
コード例 #2
0
ファイル: PropertyDescription.cs プロジェクト: wushian/Vanara
 /// <summary>Initializes a new instance of the <see cref="PropertyDescription"/> class.</summary>
 /// <param name="propertyDescription">The property description.</param>
 protected internal PropertyDescription(IPropertyDescription propertyDescription)
 {
     iDesc = propertyDescription;
     key   = iDesc.GetPropertyKey();
 }