PrintPropertyDictionary.GetProperty(String) メソッド

定義

指定したプロパティを表す (PrintProperty から派生したクラスの) オブジェクトを取得します。

public:
 System::Printing::IndexedProperties::PrintProperty ^ GetProperty(System::String ^ attribName);
public System.Printing.IndexedProperties.PrintProperty GetProperty (string attribName);
member this.GetProperty : string -> System.Printing.IndexedProperties.PrintProperty
Public Function GetProperty (attribName As String) As PrintProperty

パラメーター

attribName
String

PrintProperty が表すプロパティの名前。

戻り値

PrintProperty

PrintProperty から派生したクラスのオブジェクト。

注釈

大文字と小文字を attribName 含む印刷システム オブジェクトの特定のプロパティの名前とまったく同じスペルにする必要があります。 たとえば、 QueuePort オブジェクトのプロパティの PrintQueue スペルは"PrintPort"、"Port"、または "Queueport" ではなく "QueuePort" である必要があります。

適用対象