Leadtools.Dicom.Common
LEAD Technologies, Inc

SexMacro Method






The macro element that holds information about the dataset.
The name of the macro.
The parameters that were passed to the macro.
Macro that returns a random person sex.
Syntax
public static string SexMacro( 
   MacroElement element,
   string name,
   params object[] parameters
)
'Declaration
 
Public Shared Function SexMacro( _
   ByVal element As MacroElement, _
   ByVal name As String, _
   ByVal ParamArray parameters() As Object _
) As String
'Usage
 
Dim element As MacroElement
Dim name As String
Dim parameters() As Object
Dim value As String
 
value = DicomMacros.SexMacro(element, name, parameters)
public static string SexMacro( 
   MacroElement element,
   string name,
   params object[] parameters
)
 function Leadtools.Dicom.Common.Anonymization.DicomMacros.SexMacro( 
   element ,
   name ,
   parameters 
)
public:
static String^ SexMacro( 
   MacroElement^ element,
   String^ name,
   ... array<Object^>^ parameters
) 

Parameters

element
The macro element that holds information about the dataset.
name
The name of the macro.
parameters
The parameters that were passed to the macro.

Return Value

A string value is representative of the macro.
Remarks
This macro has no parameters. The macro guarantees that the sex return is not equal to the current value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomMacros Class
DicomMacros Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features