Udostępnij przez


Metoda CustomPropertyCollection.Add (String, Object)

Tworzy nazwę i wartość właściwość niestandardowej i dodaje go do kolekcja.

Przestrzeń nazw:  Microsoft.ReportingServices.ReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public Sub Add ( _
    propertyName As String, _
    propertyValue As Object _
)
'Użycie
Dim instance As CustomPropertyCollection
Dim propertyName As String
Dim propertyValue As Object

instance.Add(propertyName, propertyValue)
public void Add(
    string propertyName,
    Object propertyValue
)
public:
void Add(
    String^ propertyName, 
    Object^ propertyValue
)
member Add : 
        propertyName:string * 
        propertyValue:Object -> unit 
public function Add(
    propertyName : String, 
    propertyValue : Object
)

Parametry

  • propertyName
    Typ: System.String
    Nazwa właściwość niestandardowej.
  • propertyValue
    Typ: System.Object
    Wartość właściwość niestandardowej.