Share via


PropertyInformation.Source 属性

定义

获取与配置特性相对应的源文件。

public:
 property System::String ^ Source { System::String ^ get(); };
public string Source { get; }
member this.Source : string
Public ReadOnly Property Source As String

属性值

PropertyInformation 对象的源文件。

示例

下面的代码示例演示如何使用 Source 属性。 此代码示例是为 PropertyInformation 类提供的一个更大示例的一部分。

// Display the Source property.
Console.WriteLine("Source: {0}", propertyItem.Source);
' Display the Source property.
Console.WriteLine("Source: {0}", propertyItem.Source)

适用于