通过


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)

适用于